package com.day26;

public class TestStudent {
    public static void main(String[] args) {
        Student s1=new Student();
        printStudent(s1);
        Student s2=new Student("萌萌");
        printStudent(s2);
        Student s3=new Student("萌萌","2019");
        printStudent(s3);
        Student s4=new Student("萌萌","2019",25);
        printStudent(s4);
        Student s5=new Student("萌萌","2019","女",25);
        printStudent(s5);
        Student s6=new Student("萌萌","2019",25,"女","萌萌");
        printStudent(s6);
    }
    public static void printStudent(Student s){
        System.out.println("姓名："+s.name);
        System.out.println("学号："+s.stuNo);
        System.out.println("年龄："+s.age);
        System.out.println("性别："+s.sex);
        System.out.println("呢称："+s.pickName);
        System.out.println("-----------------华丽丽的分割线----------------");
    }
}
